package com.zuxia.iDao;

import java.util.List;

import com.zuxia.po.Infocenterinfo;
import com.zuxia.po.Recruitinfo;
import com.zuxia.util.PageModel;

public interface InfocenterinfoDAOI {

	public abstract void save(Infocenterinfo transientInstance);

	public abstract Boolean delete(Infocenterinfo persistentInstance);

	public abstract Infocenterinfo findById(java.lang.Integer id);

	public abstract List findByExample(Infocenterinfo instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByIcititle(Object icititle);

	public abstract List findByIcicontext(Object icicontext);

	public abstract List findAll();

	public abstract Infocenterinfo merge(Infocenterinfo detachedInstance);

	public abstract void attachDirty(Infocenterinfo instance);

	public abstract void attachClean(Infocenterinfo instance);
	/**
	 * 查询新闻信息记录总数
	 * @param serachstuName
	 * @return
	 */
	public abstract int queryCout(String serachstuName);
	/**
	 * 分页查询新闻
	 * @param pageNumber
	 * @param limit
	 * @param serachstuName
	 * @return
	 */
	public abstract List<Infocenterinfo> showInfocenterinfo(String icititle);
	
	//分页查询
	public abstract List<Infocenterinfo> showPageModelList(int pageNumber, int limit,String icititle);
	
	//根據id刪除的接口
	public abstract Boolean xzCut(int cid);
	public abstract Infocenterinfo idShowInfocenterinfo(int id);

	public abstract Boolean updateCenter(Infocenterinfo i);
	//根据类型id查询的方法
	public abstract List showAll(int itiid);
	
	//分页查询
	public abstract List<Infocenterinfo> idshowPageModelList(int itiid,int pageNumber,int limit);
}